const initialState = [{ id: '1', name: '辉哥快乐套餐', price: '123', num: 12 }]

export default (state = initialState, { type, payload }) => {
  switch (type) {

    case 'addShopCarList':
      return [...state, payload]

    default:
      return state
  }
}
